Telegram Group & Telegram Channel
4. String Basics

>>> s='python_codes'
>>> s
'python_codes'

>>> len(s)
12

>>> s[0]
'p'

>>> s[1:]
'ython_codes'

>>> s
'python_codes'

>>> s[:7]
'python_'

>>> s[:]
'python_codes'

>>> s[::1]
'python_codes'

>>> s[::-1]
'sedoc_nohtyp'

>>> var = "a"
>>> var*10
'aaaaaaaaaa'

>>> s=s+" python channel"
>>> s
'python_codes python channel'

>>> s.upper()
'PYTHON_CODES PYTHON CHANNEL'

>>> s.lower()
'python_codes python channel'

>>> s.split('codes')
['python_', ' python channel']

@python_codes



tg-me.com/python_codes/7
Create:
Last Update:

4. String Basics

>>> s='python_codes'
>>> s
'python_codes'

>>> len(s)
12

>>> s[0]
'p'

>>> s[1:]
'ython_codes'

>>> s
'python_codes'

>>> s[:7]
'python_'

>>> s[:]
'python_codes'

>>> s[::1]
'python_codes'

>>> s[::-1]
'sedoc_nohtyp'

>>> var = "a"
>>> var*10
'aaaaaaaaaa'

>>> s=s+" python channel"
>>> s
'python_codes python channel'

>>> s.upper()
'PYTHON_CODES PYTHON CHANNEL'

>>> s.lower()
'python_codes python channel'

>>> s.split('codes')
['python_', ' python channel']

@python_codes

BY Python Codes


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python_codes/7

View MORE
Open in Telegram


Python Codes Telegram | DID YOU KNOW?

Date: |

What is Telegram?

Telegram is a cloud-based instant messaging service that has been making rounds as a popular option for those who wish to keep their messages secure. Telegram boasts a collection of different features, but it’s best known for its ability to secure messages and media by encrypting them during transit; this prevents third-parties from snooping on messages easily. Let’s take a look at what Telegram can do and why you might want to use it.

Python Codes from in


Telegram Python Codes
FROM USA